
/*========================================================================================
 *                                                                                      *
 *               Copyright(c) 2013-2014, Cha SangWoo, All rights reserved.              *
 *                                                                                      *
 * This file is part of ChaOS.                                                          *
 *                                                                                      *
 * Permission to use, copy, modify, and distribute this software in source and binary   *
 * forms and its documentation for any purpose and without fee is hereby granted,       *
 * provided that the above copyright notice appear in all copies and that both that     *
 * copyright notice and this permission notice appear in supporting documentation.      *
 *                                                                                      *
 * THIS SOFTWARE IS PROVIDED BY THE CHA SANGWOO AND CONTRIBUTORS "AS IS" AND ANY        *
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED            *
 * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.   *
 * IN NO EVENT SHALL CHA SANGWOO OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,    *
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT         *
 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,          *
 * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF            *
 * LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE      *
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,                    *
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.                                   *
 *                                                                                      *
========================================================================================*/

#ifndef __CHAOS_H__
#define __CHAOS_H__

//////////////////////////////////////  < BEGIN >  ///////////////////////////////////////

#include "co_port.h"

#include "co_types.h"
#include "co_log.h"
#include "co_system.h"

#include "co_heap.h"
#include "co_thread.h"
#include "co_semaphore.h"

#if (FLAG_USE_CHAOS_MUTEX == CO_ENABLE)
    #include "co_mutex.h"
#endif

#if (FLAG_USE_CHAOS_QUEUE == CO_ENABLE)
    #include "co_queue.h"
#endif

#if (FLAG_USE_CHAOS_STATE_ENGINE == CO_ENABLE)
    #include "co_state_engine.h"
#endif

#if (FLAG_USE_CHAOS_SW_TIMER == CO_ENABLE)
    #include "co_sw_timer.h"
#endif

#if (FLAG_USE_CHAOS_BYTE_POOL == CO_ENABLE)
    #include "co_byte_pool.h"
#endif

#if (FLAG_USE_CHAOS_RING_BUFFER == CO_ENABLE)
    #include "co_ring_buffer.h"
#endif

#include "co_core.h"

//////////////////////////////////////  <  END  >  ///////////////////////////////////////

#ifdef __cplusplus
    using namespace ChaOS;
#endif

#endif //__CHAOS_H__

